export const CYZR_GET_TABLE_DATA = 'CYZR_GET_TABLE_DATA';
export const CYZR_SET_TABLE_DATA = 'CYZR_SET_TABLE_DATA';
export const CYZR_CHANGE_TABLE_LOADING = 'CYZR_CHANGE_TABLE_LOADING';
export const CYZR_GET_SOURCE_DATA = 'CYZR_GET_SOURCE_DATA';
export const CYZR_SET_SOURCE_DATA = 'CYZR_SET_SOURCE_DATA';


export const cyzrGetTableData = (params) => ({ type: CYZR_GET_TABLE_DATA, params });
export const cyzrSetTableData = (data) => ({ type: CYZR_SET_TABLE_DATA, data });
export const cyzrChangeTableLoading = (option) => ({ type: CYZR_CHANGE_TABLE_LOADING, option });
export const cyzrGetSourceData = (params) => ({ type: CYZR_GET_SOURCE_DATA, params })
export const cyzrSetSourceData = (data) => ({ type: CYZR_SET_SOURCE_DATA, data });